<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>${param.title }</title>
<jsp:include page="../../../inc/css.jsp"></jsp:include>
<jsp:include page="../../../inc/js.jsp"></jsp:include>
<jsp:include page="../../../inc/xheditor.jsp"></jsp:include>
<script type="text/javascript">
	$(document).ready(function() {
		$.get("getSelect.do",{type:'ms',index:'${param.classCode}',code:null}, function(data){$("select#classCode").append(data);});
	});
</script>
</head>
<body>
<div id="body">
<jsp:include page="../../../head.jsp"></jsp:include>
	<form action="insertMsg.do" id="f" method="post">
	<div class="msg">${msg }</div>
<fieldset>
	<legend>发布信息</legend>
		<div><label>类别：</label><select id="classCode" name="classCode"><option>请选择</option></select></div>
		<div><label>标题：</label><input type="text" id="title" name="title"></div>
		<div><label>描述：</label><textarea id="description" name="description" style="width:600px;height:200px" class="xheditor-mini"></textarea></div>
		<div><label>联系人：</label><input type="text" id="contact" name="contact" /> </div>
		<div><label>电话：</label><input type="text" name="tel" id="tel" value="${o.tel }"></div>
		<div><label>邮箱地址：</label><input type="text" name="email" value="${o.email }"></div>
		<div><label>QQ：</label><input type="text" name="qq" value="${o.qq }"></div>
		<div><label>网站地址：</label><input type="text" name="website"></div>
		<div><label>有效期：</label><input type="text" name="endDate"></div>
</fieldset>
<div><input type="submit" value="添加" > <input type="reset" value="重置"> <input type="button" value="关闭" onclick="window.close();"></div>
</form>
<jsp:include page="../../../foot.jsp"></jsp:include>
</div>
</body>
</html>